﻿namespace PhotoAlbum.Web
{
	using System.Runtime.Serialization;
	using System.Linq;
	using System.ComponentModel.DataAnnotations;

	public partial class Album
	{
        public AlbumVisibility Visibility
        {
            get
            {
                return (AlbumVisibility)this.VisibilityStore;
            }
            set
            {
                this.VisibilityStore = (byte)value;
            }
        }

        public CommentsPolicy CommentsPolicy
        {
            get
            {
                return (CommentsPolicy)this.CommentsPolicyStore;
            }
            set
            {
                this.CommentsPolicyStore = (byte)value;
            }
        }
    }
}
